home *** CD-ROM | disk | FTP | other *** search
- /** * * * * * * * * * * * * * * * * * * * * * * * * *
- * *
- * User Interface Script - generated by UI Editor *
- * *
- * * * * * * * * * * * * * * * * * * * * * * * * * * */
-
- //------ Key declarations --------------------------
- !LoadIncluded(s)
- !Included()
- !Interface(s)
- !Window(s,s,s)
- !Static(s,s,s)
- !ControlObject(s,s,s)
- !Button(s,s,s,s)
- !Edit(s,s,s,s)
- !Menu(s,s,s)
- !Id(s)
- !LogicSize(f,f)
- !LogicPos(f,f)
- !Mouse(i)
- !Keyboard(i)
- !Joy(i)
- !Visible(i)
- !Texture(s)
- !TextureRect(s,f,f,f,f,f,f)
- !EditTexture(s)
- !FrameCornerSize(i,i)
- !Cursor(s)
- !CursorVisible(i)
- !EditBorderWidth(f)
- !EditBorderSens(f)
- !EditState(i)
- !EditCursorSize(s)
- !EditStateOnInit(i)
- !EditCursorMove(s)
- !Text(s)
- !TextColor(f,f,f)
- !TextPosFlags(i)
- !Font(s)
- !Command(i)
- !Notify(i)
- !SelKeyUp(i)
- !SelKeyDown(i)
- !FocusSound(s)
- !TextureHightlight(s)
- !TextureHightlightRect(s,f,f,f,f,f,f)
- !TextHighLightColor(f,f,f)
- !CanFocus(i)
- !TextureChecked(s)
- !TextureCheckedRect(s,f,f,f,f,f,f)
- !TextureDisabled(s)
- !TextureDisabledRect(s,f,f,f,f,f,f)
- !TextureHightlightCheck(s)
- !TextureHightlightCheckRect(s,f,f,f,f,f,f)
- !TextDisableColor(f,f,f)
- !TextCheckedColor(f,f,f)
- !TextHighLightCheckColor(f,f,f)
- !Checked(i)
- !Disabled(i)
- !CanCallPress(i)
- !CanCheck(i)
- !CallPressPeriod(f)
- !DoubleClick(f)
- !MouseLeaveDestroyFocus(i)
- !CheckSound(s)
- !MenuButton(s,s,s,s,s)
- !TextureEdit(s)
- !TextEditColor(f,f,f)
- !ParentPositioning(i)
- !ParentCenteringX(i)
- !ParentCenteringY(i)
- !ListBoxCapacity(i)
-
- //------ UI stuff -----------------------------
- Interface("UI_CHOOSE_PLAYER")
- {
- Command(1)
- Notify(1)
- CanFocus(1)
- SelKeyUp(-1)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif10")
- TextPosFlags(34)
- LogicSize(1.0,1.0)
- LogicPos(0.0,0.0)
- Mouse(1)
- Keyboard(1)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(0)
- ParentCenteringY(0)
- Cursor("data/textures/cursors/cursor.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- ControlObject("UIControlObject","ID_FRAME","Specific")
- {
- Command(1)
- Notify(1)
- CanFocus(0)
- SelKeyUp(200)
- SelKeyDown(208)
- Text("&&MenuChoosePlayerFrame&&")
- TextColor(1.0,1.0,1.0)
- Font("FLJazz32")
- TextPosFlags(33)
- LogicSize(0.41375,0.725)
- LogicPos(0.02875,0.23166661)
- Mouse(1)
- Keyboard(1)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(1)
- ParentCenteringY(0)
- FrameCornerSize(25,30)
- TextureRect("data/menu/p_menu.png",1024.0,1024.0,262.0,601.0,585.0,921.0)
- EditTexture("data/interface/er_t_red.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- Button("UIButtonFlying","ID_OK","&&MenuOK&&","Specific")
- {
- Checked(0)
- Disabled(0)
- CanCallPress(0)
- CanCheck(0)
- MouseLeaveDestroyFocus(1)
- TextureCheckedRect("data/menu/p_menu.png",1024.0,1024.0,203.0,946.0,402.0,992.0)
- TextureDisabledRect("data/menu/p_menu.png",1024.0,1024.0,1.0,946.0,200.0,992.0)
- TextDisableColor(0.5019608,0.5019608,0.5019608)
- CallPressPeriod(0.1)
- DoubleClick(0.3)
- Command(1)
- Notify(1)
- CanFocus(1)
- SelKeyUp(0)
- SelKeyDown(0)
- FocusSound("data/sounds/focus.wav")
- Text("&&MenuOK&&")
- TextColor(1.0,1.0,1.0)
- Font("FLJazz32")
- TextPosFlags(34)
- LogicSize(0.24875,0.08)
- LogicPos(0.0,0.6862976)
- Mouse(1)
- Keyboard(1)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(1)
- ParentCenteringY(0)
- TextureRect("data/menu/p_menu.png",1024.0,1024.0,801.0,1.0,1000.0,47.0)
- EditTexture("red")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("c_resize.png")
- EditCursorMove("c_move.png")
- CheckSound("data/sounds/click")
- FocusSound("data/sounds/highlight")
- }
- Button("UIButtonFlying","ID_DELETE","&&MenuChoosePlayerDelete&&","Specific")
- {
- Checked(0)
- Disabled(0)
- CanCallPress(0)
- CanCheck(0)
- MouseLeaveDestroyFocus(1)
- TextureCheckedRect("data/menu/p_menu.png",1024.0,1024.0,203.0,946.0,402.0,992.0)
- TextureDisabledRect("data/menu/p_menu.png",1024.0,1024.0,1.0,946.0,200.0,992.0)
- TextDisableColor(0.5019608,0.5019608,0.5019608)
- CallPressPeriod(0.1)
- DoubleClick(0.3)
- Command(1)
- Notify(1)
- CanFocus(1)
- SelKeyUp(0)
- SelKeyDown(0)
- FocusSound("data/sounds/focus.wav")
- Text("&&MenuChoosePlayerDelete&&")
- TextColor(1.0,1.0,1.0)
- Font("FLJazz32")
- TextPosFlags(34)
- LogicSize(0.24875,0.08)
- LogicPos(0.0,0.81848156)
- Mouse(1)
- Keyboard(1)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(1)
- ParentCenteringY(0)
- TextureRect("data/menu/p_menu.png",1024.0,1024.0,801.0,1.0,1000.0,47.0)
- EditTexture("red")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("c_resize.png")
- EditCursorMove("c_move.png")
- CheckSound("data/sounds/click")
- FocusSound("data/sounds/highlight")
- }
- Static("UIStatic","ID_PLAYER","Specific")
- {
- Text("&&MenuChoosePlayerEnterName&&")
- TextColor(1.0,1.0,1.0)
- Font("FLRoman21")
- TextPosFlags(33)
- LogicSize(0.34375,0.4116667)
- LogicPos(0.10000002,0.11494253)
- Mouse(1)
- Keyboard(1)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(1)
- ParentCenteringY(0)
- //Texture("er_t_Blue.png")
- EditTexture("data/interface/er_t_red.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- ControlObject("UIListBox","ID_LISTBOX","Specific")
- {
- ListBoxCapacity(5)
- Command(1)
- Notify(1)
- CanFocus(1)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif10")
- TextPosFlags(34)
- LogicSize(0.26375002,0.26666668)
- LogicPos(0.17454545,0.3212175)
- Mouse(1)
- Keyboard(1)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(0)
- ParentCenteringY(0)
- EditTexture("data/interface/er_t_red.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- Menu("UIMenu","ID_LIST","Specific")
- {
- Command(1)
- Notify(1)
- CanFocus(1)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif10")
- TextPosFlags(34)
- LogicSize(0.22375003,0.26666668)
- LogicPos(0.0,0.0)
- Mouse(1)
- Keyboard(1)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(0)
- ParentCenteringY(1)
- FrameCornerSize(3,3)
- TextureRect("p_menu.png",1024.0,1024.0,943.0,50.0,950.0,57.0)
- EditTexture("data/interface/er_t_red.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- MenuButton("UIMenuButton","ID_BUTTON","","Standard","Specific")
- {
- Checked(0)
- Disabled(0)
- CanCallPress(0)
- CanCheck(1)
- MouseLeaveDestroyFocus(1)
- TextureCheckedRect("p_menu.png",1024.0,1024.0,952.0,50.0,959.0,57.0)
- TextCheckedColor(1.0,1.0,1.0)
- CallPressPeriod(0.1)
- DoubleClick(0.3)
- Command(1)
- Notify(0)
- CanFocus(0)
- TextHighLightColor(1.0,1.0,1.0)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("FLRoman21")
- TextPosFlags(34)
- LogicSize(0.22375003,0.053333335)
- LogicPos(0.0,0.0)
- Mouse(1)
- Keyboard(1)
- Joy(0)
- Visible(0)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(0)
- ParentCenteringY(0)
- FrameCornerSize(3,3)
- EditTexture("data/interface/er_t_red.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- CheckSound("data/sounds/click")
- FocusSound("data/sounds/highlight")
- }
- }
- ControlObject("UIControlObject","ID_SCROLL","Specific")
- {
- Command(1)
- Notify(1)
- CanFocus(0)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif10")
- TextPosFlags(34)
- LogicSize(0.04,0.26666668)
- LogicPos(0.84834117,0.0)
- Mouse(1)
- Keyboard(1)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(0)
- ParentCenteringY(1)
- EditTexture("data/interface/er_t_red.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- Button("UIButtonFlying","ID_UP","+","Specific")
- {
- Checked(0)
- Disabled(0)
- CanCallPress(0)
- CanCheck(0)
- MouseLeaveDestroyFocus(1)
- TextureCheckedRect("p_menu.png",1024.0,1024.0,442.0,956.0,473.0,994.0)
- CallPressPeriod(0.1)
- DoubleClick(0.3)
- Command(1)
- Notify(1)
- CanFocus(1)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("+")
- TextColor(1.0,1.0,1.0)
- Font("FLJazz32")
- TextPosFlags(34)
- LogicSize(0.04,0.06333333)
- LogicPos(0.0,0.0)
- Mouse(1)
- Keyboard(1)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(1)
- ParentCenteringY(0)
- TextureRect("p_menu.png",1024.0,1024.0,838.0,50.0,869.0,88.0)
- EditTexture("data/interface/er_t_red.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- CheckSound("data/sounds/click")
- FocusSound("data/sounds/highlight")
- CheckSound("data/sounds/click")
- FocusSound("data/sounds/highlight")
- }
- Button("UIButton","ID_THUMB","","Specific")
- {
- Checked(0)
- Disabled(0)
- CanCallPress(0)
- CanCheck(0)
- MouseLeaveDestroyFocus(1)
- CallPressPeriod(0.1)
- DoubleClick(0.3)
- Command(1)
- Notify(1)
- CanFocus(0)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif10")
- TextPosFlags(34)
- LogicSize(0.025,0.038333334)
- LogicPos(0.0,0.23749998)
- Mouse(1)
- Keyboard(1)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(1)
- ParentCenteringY(0)
- TextureRect("p_menu.png",1024.0,1024.0,885.0,438.0,905.0,469.0)
- EditTexture("data/interface/er_t_red.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- CheckSound("data/sounds/click")
- FocusSound("data/sounds/highlight")
- }
- Button("UIButtonFlying","ID_DOWN","=","Specific")
- {
- Checked(0)
- Disabled(0)
- CanCallPress(0)
- CanCheck(0)
- MouseLeaveDestroyFocus(1)
- TextureCheckedRect("p_menu.png",1024.0,1024.0,476.0,956.0,507.0,994.0)
- CallPressPeriod(0.1)
- DoubleClick(0.3)
- Command(1)
- Notify(1)
- CanFocus(1)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("=")
- TextColor(1.0,1.0,1.0)
- Font("FLJazz32")
- TextPosFlags(34)
- LogicSize(0.04,0.06333333)
- LogicPos(0.0,0.7625001)
- Mouse(1)
- Keyboard(1)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(1)
- ParentCenteringY(0)
- TextureRect("p_menu.png",1024.0,1024.0,872.0,50.0,903.0,88.0)
- EditTexture("data/interface/er_t_red.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- CheckSound("data/sounds/click")
- FocusSound("data/sounds/highlight")
- }
- }
- }
- Button("UIEdit","ID_EDIT","","Specific")
- {
- Checked(0)
- Disabled(0)
- CanCallPress(0)
- CanCheck(1)
- MouseLeaveDestroyFocus(1)
- TextureCheckedRect("p_menu.png",1024.0,1024.0,952.0,50.0,959.0,57.0)
- //TextureCheckedRect("p_menu.png",1024.0,1024.0,943.0,50.0,950.0,57.0)
- TextCheckedColor(1.0,1.0,1.0)
- CallPressPeriod(0.1)
- DoubleClick(0.3)
- Command(1)
- Notify(1)
- CanFocus(0)
- TextHighLightColor(1.0,1.0,1.0)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("FLRoman21")
- TextPosFlags(34)
- LogicSize(0.22375003,0.055)
- LogicPos(0.18126887,0.14442955)
- Mouse(1)
- Keyboard(1)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(1)
- ParentCenteringY(0)
- FrameCornerSize(3,3)
- TextureRect("p_menu.png",1024.0,1024.0,943.0,50.0,950.0,57.0)
- EditTexture("data/interface/er_t_red.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- CheckSound("data/sounds/click")
- FocusSound("data/sounds/highlight")
- }
- }
- }
- }
-